package com.aya.base.job;

import com.aya.base.job.config.JdbcConfig;
import org.quartz.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.annotation.Resource;

@PersistJobDataAfterExecution
@DisallowConcurrentExecution
public class SpringBaseA1Job implements Job {
    private static final Logger logger = LoggerFactory.getLogger(SpringBaseA1Job.class);
    @Resource
    private JdbcConfig jdbcConfig;


    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        logger.info("A1 SpringBaseJob 的单例 执行了");
    }
}
